POV-Ray : Newsgroups : povray.beta-test : Strange while reaction : Strange while reaction Server Time
30 Jul 2024 18:22:39 EDT (-0400)
  Strange while reaction  
From: Jean-Sebastien Perron
Date: 13 Oct 2001 22:28:26
Message: <3bc8f84a@news.povray.org>
#declare marche = union
{
  disc {0 0 0 0 pigment {Black}}
  box
  {
    <-.5, -.5, -.5>
    < .5,  .5,  .5>
  pigment {color Yellow}

  translate <0 .5, 0, 0>
  scale      <1.5 , 0.2, 1 >
  }
}


#declare compteur = 0;
#while (compteur < 10)
  object { marche rotate <0, compteur*45, 0> translate <0, compteur*0.5,
0> }
  #declare compteur = compteur+1;
#end

////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////

It has work whith povray 3.1, but now whith 3.5 it dosen't work (It close
povray with a warning "Program Error").
I tried :

    -object {marche}alone without the "while portion" and it works.
    -but the problem happend only when the "while fuction" is activated.

By the way, i know the union of a disc (0 0 0 0) is supposed to be
imposible.


jsp### [at] sympaticoca


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.